package com.hejia.alauda.entity;

import javax.persistence.Column;

public class Qualification extends BaseEntity {
	
	public static String TYPE_BONUS_RAFFLE_51 = "51抽奖活动";
	public static String TYPE_BONUS_20150415 = "四月微信流量包活动";
	public static String TYPE_BONUS_20150310 = "限时抢购活动";
	public static String TYPE_MARCH_TRAFFIC_20150328 = "欢乐合家加油站 致月底流量不够的你";
	public static String TYPE_CHILDRENS_DAY_2015 = "2015年六一节活动";
	public static String TYPE_YICHE_GIFT_2015 = "2015年易车活动礼物";
	public static String TYPE_YICHE_LUCKDRAW_2015 = "2015年易车活动抽奖礼物";
	public static String TYPE_DRAGON_BOAT_2015 = "2015年端午节粽子";
	
	public static String TYPE_JIAYUAN_STAMP_XINSHOU = "2015年世纪佳缘邮票-新手";
	public static String TYPE_JIAYUAN_STAMP_JIXIANG = "2015年世纪佳缘邮票-季享";
	public static String TYPE_JIAYUAN_S2 = "2015年世纪佳缘活动第二期";
	public static String TYPE_JIAYUAN_S3 = "2015年世纪佳缘活动第三期";
	public static String TYPE_JIAYUAN_S4 = "2015年世纪佳缘活动第四期";
	public static String TYPE_JIAYUAN_S5 = "2015年世纪佳缘活动第五期";
	public static String TYPE_YOUKU_CARD_2015 = "优酷会员卡活动（2015年）";
	public static String TYPE_WASU_SEASON_3 = "华数第三期活动礼品";
	public static String TYPE_WASU_SEASON_4 = "华数第四期活动礼品";
	public static String TYPE_FIRST_HALF_YEAR_2015 = "2015上半年半年报活动";
	public static String TYPE_TCL_2015_S1 = "TYPE_TCL_2015_S1";
	public static String TYPE_MAGPIE_FESTIVAL_2015 = "2015年七夕节活动类型";
	public static String TYPE_CHINA_MOBILE_BJ_2015 = "2015年中国移动（bj）类型";
	public static String TYPE_CHINA_MOBILE_GD_2015 = "2015年中国移动（gd）类型";
	public static String TYPE_CHINA_MOBILE_SOHU_2015 = "2015年中国移动（sohu）类型";
	public static String TYPE_NATIONAL_DAY_CRAB_2015 = "2015年中秋/国庆双节活动礼品（青蟹）";
	public static String TYPE_NATIONAL_DAY_IPHONE6S_2015 = "2015年中秋/国庆双节活动礼品（iPhone6s）";
	public static String TYPE_ZERO_YUAN_BUSINESS_2015 = "2015年零元购活动类型";
	public static String TYPE_ZERO_BAIHE_GIFT_SEASON_1 = "百合合作第一季活动礼品";
	public static String TYPE_HEJIA_ONEYEAR_OFF_LINE = "合家周年庆线下报名类型";
	public static String TYPE_HEJIA_ONEYEAR_GROUP_BUYING = "合家周年庆团购活动类型";
	public static String TYPE_HEJIA_ONEYEAR_LOTTERY = "合家周年庆抽奖活动类型";
	/**
	 * 
	 */
	private static final long serialVersionUID = 7881147605869623352L;
	
	@Column
	private User user; //用户
	
	@Column
	private String award; //奖品
	
	@Column
	private String awardCode; //奖品代码
	
	@Column
	private String type; //抽奖活动类型
	
	@Column
	private Product product; //关联产品
	
	@Column
	private boolean used; //是否使用
	
	@Column
	private Financing financing;
	
	private Long user_id;//用户ID
	
	private Long product_id; //关联产品ID

	public String getAward() {
		return award;
	}

	public void setAward(String award) {
		this.award = award;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}


	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Product getProduct() {
		return product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

	public boolean isUsed() {
		return used;
	}

	public void setUsed(boolean used) {
		this.used = used;
	}

	public Long getUser_id() {
		return user_id;
	}

	public void setUser_id(Long user_id) {
		this.user_id = user_id;
	}

	public Long getProduct_id() {
		return product_id;
	}

	public void setProduct_id(Long product_id) {
		this.product_id = product_id;
	}

	public String getAwardCode() {
		return awardCode;
	}

	public void setAwardCode(String awardCode) {
		this.awardCode = awardCode;
	}

	public Financing getFinancing() {
		return financing;
	}

	public void setFinancing(Financing financing) {
		this.financing = financing;
	}
}
